<template>
  <div v-for="item in arr" :key="item.id">
    <div class="newsTime">
      <div class="circ"></div>
      <p>{{item.time}}</p>
    </div>
    <a href="javascript:;" v-for="(Item,Index) in item.list" :key="Index">{{Item}}</a>
  </div>
</template>

<script>
import { defineComponent } from 'vue'
export default defineComponent({
  props: {
    arr: {
      typeof: Array,
      default: []
    }
  }
})
</script>

<style lang='less' scoped>
.newsTime {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 13px;
  margin-bottom: 2px;
  .circ {
    position: absolute;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3072f6;
  }
  p {
    font-family: 'HarmonyOS Sans SC';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #9399a5;
  }
}
a {
  display: block;
  margin-top: 14px;
  margin-left: 13px;
  font-family: 'HarmonyOS Sans SC';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #666666;
}
</style>
